<?php
// [ 应用入口文件 ]
include_once("/inc/auth.inc.php");
include_once("/inc/utility_all.php");
include_once("/inc/utility_org.php");
include_once("/inc/utility_file.php");
include_once("/inc/check_type.php");
include_once 'inc/utility_sms1.php';

date_default_timezone_set('PRC');

function send_msg($params){
    // 发送通知消息
    $canshu = explode(',',$params['params']);
    $TO_ID = $canshu['0'];
    $CONTENT = iconv('UTF-8','GBK',$canshu['1']);
    $REMIND_URL = "1:{$canshu['2']}";
    send_sms(date('Y-m-d H:i:s'),$_SESSION['LOGIN_USER_ID'],$TO_ID,7,$CONTENT,$REMIND_URL);
}

$params=array_merge($_POST,$_GET);
call_user_func($opt,$params);//函数调用方法映射